﻿package 
{
	import flashx.textLayout.formats.TextAlign;
	import com.xin.components.base.InputTextBase;

	import flash.display.Sprite;
	import flash.display.StageAlign;
	import flash.display.StageScaleMode;

	public class Main extends Sprite
	{
		public function Main()
		{
			stage.align = StageAlign.TOP_LEFT;
			stage.scaleMode = StageScaleMode.NO_SCALE;
			
			var input:InputTextBase = new InputTextBase(100, 20, "", function():void
			{
				trace("change");
			}, "input some words");
			addChild(input);
			input.align = TextAlign.CENTER;
			input.blNumber = true;
		}

	}
}
